import request from '@/utils/https'

//--------------------------------------------------------------------------------------------------------------------浏览器上网管控设置
//获取浏览器网址信息
export const queryBrowserAll = params => request('get','api/queryBrowserAll',params)

//根据ID获取浏览器网址信息
export const queryIdBrowser = params => request('get','api/queryIdBrowser',params)

//根据ID编辑浏览器信息
export const editBrowser = params => request('post','api/editBrowser',params)

//根据ID删除浏览器信息
export const deleteBrowser = params => request('post','api/deleteBrowser',params)

//添加浏览器信息
export const addBrowser = params => request('post','api/addBrowser',params)

//-------------------------------------------------------------------------------------------------------------------浏览器书签设置
export const queryLabelAll = params => request('get','api/queryLabelAll',params)

//根据ID获取书签信息
export const queryIdLabel = params => request('get','api/queryIdLabel',params)

//根据ID编辑书签信息
export const editLabel = params => request('post','api/editLabel',params)

//添加书签信息
export const addLabel = params => request('post','api/addLabel',params)

//删除书签信息
export const deleteLabel = params => request('post','api/deleteLabel',params)

//-------------------------------------------------------------------------------------------------------------------第三方应用
//获取第三方信息
export const queryAppGroundAll = params => request('get','api/queryAppGroundAll',params)

//添加第三方应用信息
export const addAppGround = params => request('post','api/addAppGround',params)

//根据ID获取第三方应用信息
export const queryIdAppGround = params => request('get','api/queryIdAppGround',params)

//根据ID获取包名信息
export const AppPackage = params => request('get','api/queryAppPackage',params)

//根据ID编辑第三方应用信息
export const editAppGround = params => request('post','api/editAppGround',params)

//根据ID删除第三方应用
export const deleteAppGround = params => request('post','api/deleteAppGround',params)

//-------------------------------------------------------------------------------------------------------------------权限管控
//获取权限管控信息
export const queryAppControl = params => request('get','api/queryAppControl',params)

//启用自启，网络，升级，滑动
export const editAppControl = params => request('post','api/editAppControl',params)

//-------------------------------------------------------------------------------------------------------------------应用内部页面联网管控
//获取应用内部联网管控
export const queryAppInside = params => request('get','api/queryAppInside',params)

//根据ID获取应用内部页面管控
export const queryIdAppInside = params => request('get','api/queryIdAppInside',params)

//应用内部按应用名获取包名信息
export const queryNameApp = params => request('get','api/queryNameApp',params)

//删除应用内部页面联网管控信息
export const deleteAppInside = params => request('post','api/deleteAppInside',params)

//添加应用内部页面联网管控信息
export const addAppInside = params => request('post','api/addAppInside',params)

//编辑应用内部页面联网管控信息
export const editAppInside = params => request('post','api/editAppInside',params)

//-------------------------------------------------------------------------------------------------------------------应用图标桌面
//获取应用图标桌面可见性管控
export const queryAppIcon = params => request('get','api/queryAppIcon',params)

//增加应用图标桌面可见性管控
export const addAppIcon = params => request('post','api/addAppIcon',params)

//编辑应用图标桌面可见性管控
export const editAppIcon = params => request('post','api/editAppIcon',params)

//按编号获取应用图标桌面可见性管控
export const queryIdAppIcon = params => request('get','api/queryIdAppIcon',params)

//删除应用图标桌面可见性管控
export const deleteAppIcon = params => request('post','api/deleteAppIcon',params)

//-------------------------------------------------------------------------------------------------------------------TF卡媒体类型设置
//获取TF卡媒体类型设置信息
export const queryTfMedia = params => request('get','api/queryTfMedia',params)

//按编号获取TF卡媒体类型设置信息
export const queryIdTfMedia = params => request('get','api/queryIdTfMedia',params)

//根据ID编辑TF卡媒体类型
export const editTfMedia = params => request('post','api/editTfMedia',params)

//添加TF卡媒体类型设置
export const addTfMedia = params => request('post','api/addTfMedia',params)

//删除TF卡媒体类型设置
export const deleteTfMedia = params => request('post','api/deleteTfMedia',params)

//-------------------------------------------------------------------------------------------------------------------系统其他管控设置
//获取系统其它管控设置
export const queryOtherSetting = params => request('get','api/queryOtherSetting',params)

//获取图形文件格式
export const queryTfMediaImg = params => request('get','api/queryTfMediaImg',params)

//获取音频文件格式
export const queryTfMediaMusic = params => request('get','api/queryTfMediaMusic',params)

//获取文档文件格式
export const queryTfMediaFile = params => request('get','api/queryTfMediaFile',params)

//获取视频文件格式
export const queryTfMediaVideo = params => request('get','api/queryTfMediaVideo',params)

//增加系统其它管控设置
export const addOtherSetting = params => request('post','api/addOtherSetting',params)

//按ID获取系统其它管控设置
export const queryIdOtherSetting = params => request('get','api/queryIdOtherSetting',params)

//按ID编辑系统其他管控设置
export const editOtherSetting = params => request('post','api/editOtherSetting',params)

//按ID删除系统其它管控设置
export const deleteOtherSetting = params => request('post','api/deleteOtherSetting',params)


//-------------------------------------------------------------------------------------------------------------------应用白名单设置
//获取应用白名单信息
export const queryWhiteApp = params => request('get','api/control/queryWhiteApp',params)

//编号获取应用白名单信息
export const queryIdWhiteApp = params => request('get','api/control/queryIdWhiteApp',params)

//增加应用白名单信息
export const addWhiteApp = params => request('post','api/control/addWhiteApp',params)

//删除应用白名单信息
export const deleteWhiteApp = params => request('post','api/control/deleteWhiteApp',params)

//修改应用白名单设置
export const editWhiteApp = params => request('post','api/control/editWhiteApp',params)


//-------------------------------------------------------------------------------------------------------------------平板时间管控
//获取时间管控
export const queryTimeControl = params => request('get','api/time/queryTimeControl',params)

//增加时间管控
export const addTimeControl = params => request('post','api/time/addTimeControl',params)

//删除时间管控
export const deleteTimeControl = params => request('post','api/time/deleteTimeControl',params)

//编号获取时间管控
export const queryIdTimeControl = params => request('get','api/time/queryIdTimeControl',params)

//修改时间管控
export const editTimeControl = params => request('post','api/time/editTimeControl',params)


//-------------------------------------------------------------------------------------------------------------------应用霸屏设置
//获取应用霸屏
export const timequeryAppControl = params => request('get','api/time/queryAppControl',params)

//用户编号获取应用名称
export const getAppName = params => request('get','api/time/getAppName',params)

//增加应用霸屏
export const addAppControl = params => request('post','api/time/addAppControl',params)

//编号获取应用霸屏
export const queryIdAppControl = params => request('get','api/time/queryIdAppControl',params)

//修改应用霸屏
export const timeeditAppControl = params => request('post','api/time/editAppControl',params)

//删除应用霸屏
export const deleteAppControl = params => request('post','api/time/deleteAppControl',params)


//添加应用消息通知管控
export const addAppMessageControl = params => request('post','api/addAppMessageControl',params)

//获取应用消息通知数据
export const queryAppMessageControl = params => request('get','api/queryAppMessageControl',params)

//修改应用消息通知
export const editAppMessageControl = params => request('post','api/editAppMessageControl',params)

//删除应用消息通知白名单
export const delAppMessageControl = params => request('post','api/delAppMessageControl',params)

//获取app应用
export const gelAllApp = params => request('get','api/gelAllApp',params)

//-------------------------------------------------------------------------------------------------------------------系统默认App设置
//获取系统默认应用模式设置
export const queryDefaultApp = params => request('get','api/control/queryDefaultApp',params)

//编号获取系统默认应用模式设置
export const queryIdDefaultApp = params => request('get','api/control/queryIdDefaultApp',params)

//增加系统默认应用模式设置
export const addDefaultApp = params => request('post','api/control/addDefaultApp',params)

//修改系统默认应用模式设置信息
export const editDefaultApp = params => request('post','api/control/editDefaultApp',params)

//删除系统默认应用模式设置信息
export const deleteDefaultApp = params => request('post','api/control/deleteDefaultApp',params)


//-------------------------------------------------------------------------------------------------------------------应用运行黑名单
//应用运行黑名单列表
export const runAppRestrictList = params => request('get','api/AppControl/runAppRestrictList',params)

//编号查询应用运行黑名单
export const runAppRestrictById = params => request('get','api/AppControl/runAppRestrictById',params)

//添加应用运行黑名单
export const runAppRestrictAdd = params => request('post','api/AppControl/runAppRestrictAdd',params)

//编辑应用运行黑名单
export const runAppRestrictEdit = params => request('post','api/AppControl/runAppRestrictEdit',params)

//删除应用运行黑名单
export const runAppRestrictDelete = params => request('post','api/AppControl/runAppRestrictDelete',params)

//-------------------------------------------------------------------------------------------------------------------wifi黑白名单管控
//WiFi列表
export const wifiList = params => request('get','api/wifiList',params)

//编号查询WiFi
export const wifiById = params => request('get','api/wifiById',params)

//添加WiFi
export const wifiAdd = params => request('post','api/wifiAdd',params)

//编辑WiFi
export const wifiEdit = params => request('post','api/wifiEdit',params)

//删除WiFi
export const wifiDelete = params => request('post','api/wifiDelete',params)

//-------------------------------------------------------------------------------------------------------------------应用坐标访问管控
//应用坐标列表
export const appCoordinateList = params => request('get','api/SnControl/appCoordinateList',params)

//编号查询应用坐标
export const appCoordinateById = params => request('get','api/SnControl/appCoordinateById',params)

//添加应用坐标
export const appCoordinateAdd = params => request('post','api/SnControl/appCoordinateAdd',params)

//编辑应用坐标
export const appCoordinateEdit = params => request('post','api/SnControl/appCoordinateEdit',params)

//删除应用坐标
export const appCoordinateDelete = params => request('post','api/SnControl/appCoordinateDelete',params)
